package com.cloud.pole.msg.model.entity;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;

@Table(name = "msg_sms_template")
public class SmsTemplate implements Serializable {
	
	/**
	 * 用户是否存在（0：否 1：是 2：不做控制）
	 */
	public static final int USER_EXISTS_YES = 1;
	public static final int USER_EXISTS_NO  = 0;
	public static final int USER_EXISTS_NOT_CONTROL  = 2;

	 /**
     * 参数id
     */
	@Column(name="template_id")
	private Integer templateId;

    /**
     * 参数key
     */
	@Column(name="template_key")
	private String templateKey;

    /**
     * 参数名称
     */
	@Column(name="template_name")
	private String templateName;

    /**
     * 状态(1：启用 0：未启用)
     */
	@Column(name="template_status")
	private Integer templateStatus;

    /**
     * 短信模板内容
     */
	@Column(name="sms_template")
	private String smsTemplate;

    /**
     * 操作人id
     */
	@Column(name="op_user_id")
	private String opUserId;

    /**
     * 操作时间
     */
	@Column(name="op_time")
	private Date opTime;

    /**
     * 说明
     */
	@Column(name="note")
	private String note;

	/**
	 * 用户是否存在（0：否 1：是）
	 */
	@Column(name="user_exists")
	private Integer userExists;
	
	
	@Column(name="remarks_01")
	private String remarks01;

    /**
     * )
     */
	@Column(name="remarks_02")
	private String remarks02;
	
    private static final long serialVersionUID = 1L;

    public Integer getTemplateId() {
        return templateId;
    }

    public void setTemplateId(Integer templateId) {
        this.templateId = templateId;
    }

    public String getTemplateKey() {
        return templateKey;
    }

    public void setTemplateKey(String templateKey) {
        this.templateKey = templateKey;
    }

    public String getTemplateName() {
        return templateName;
    }

    public void setTemplateName(String templateName) {
        this.templateName = templateName;
    }

    public Integer getTemplateStatus() {
        return templateStatus;
    }

    public void setTemplateStatus(Integer templateStatus) {
        this.templateStatus = templateStatus;
    }

    public String getSmsTemplate() {
        return smsTemplate;
    }

    public void setSmsTemplate(String smsTemplate) {
        this.smsTemplate = smsTemplate;
    }

    public String getOpUserId() {
        return opUserId;
    }

    public void setOpUserId(String opUserId) {
        this.opUserId = opUserId;
    }

    public Date getOpTime() {
        return opTime;
    }

    public void setOpTime(Date opTime) {
        this.opTime = opTime;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getRemarks01() {
        return remarks01;
    }

    public void setRemarks01(String remarks01) {
        this.remarks01 = remarks01;
    }

    public String getRemarks02() {
        return remarks02;
    }

    public void setRemarks02(String remarks02) {
        this.remarks02 = remarks02;
    }

	public Integer getUserExists() {
		return userExists;
	}

	public void setUserExists(Integer userExists) {
		this.userExists = userExists;
	}
}
